package com.nanjia.boot.outboundorderview.converter;

import com.nanjia.boot.outboundorderview.model.entity.OutboundOrderView;
import com.nanjia.boot.outboundorderview.model.form.OutboundOrderViewForm;
import org.mapstruct.Mapper;

/**
 * 出库单业务关联对象转换器
 *
 * @author 周洋
 * @since 2025-08-25 00:11
 */
@Mapper(componentModel = "spring")
public interface OutboundOrderViewConverter{

    OutboundOrderViewForm toForm(OutboundOrderView entity);

    OutboundOrderView toEntity(OutboundOrderViewForm formData);
}